package com.lt.experiment04.mission02;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.experiment04.mission02
 * @ClassName ConcreteDecorator
 * @Description to do
 * @date 2021/11/2 10:51
 */
public class ConcreteDecorator extends Decorator{

    public ConcreteDecorator(Component c) {
        super(c);
    }

    @Override
    public void operation() {
        super.operation();
        addedBehavior();
    }

    public void addedBehavior() {
        System.out.println("adderBehavior.....");
    }
}
